<?php if($member) { ?>
<aside class="left-side sidebar-offcanvas">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- search form -->
        <!-- <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search..."/>
                <span class="input-group-btn">
                    <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                </span>
            </div>
        </form> -->
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li <?php if(CONTROLLER_NAME=='Market'&&ACTION_NAME=='index'){ ?>class="active"<?php } ?>>
                <a href="<?=url('market/index')?>" data-toggle="tooltip"  data-placement="right" data-original-title="<?=L('market',1)?>">
                    <i class="fa fa-dashboard"></i> <span><?=L('market',1)?></span>
                </a>
            </li>
            <li <?php if(CONTROLLER_NAME=='Ucenter'&&ACTION_NAME=='index'){ ?>class="active"<?php } ?>>
                <a href="<?=url('ucenter/index')?>"  data-toggle="tooltip"  data-placement="right" data-original-title="<?=L('ucenter',1)?>">
                    <i class="fa fa-user"></i> <span><?=L('ucenter',1)?></span>
                </a>
            </li>
            <li <?php if(CONTROLLER_NAME=='Ucenter'&&ACTION_NAME=='out'){ ?>class="active"<?php } ?>>
                <a href="<?=url('ucenter/out')?>"  data-toggle="tooltip"  data-placement="right" data-original-title="<?=L('withdraw',1)?>">
                    <i class="fa fa-outdent"></i> <span><?=L('withdraw',1)?></span>
                </a>
            </li>

            <li <?php if(CONTROLLER_NAME=='Ucenter'&&ACTION_NAME=='in'){ ?>class="active"<?php } ?>>
                <a href="<?=url('ucenter/in')?>"  data-toggle="tooltip"  data-placement="right" data-original-title="<?=L('pay',1)?>">
                    <i class="fa fa-indent"></i> <span><?=L('pay',1)?></span>
                </a>
            </li>

            <li <?php if(CONTROLLER_NAME=='Ucenter'&&ACTION_NAME=='setting'){ ?>class="active"<?php } ?>>
                <a href="<?=url('ucenter/setting')?>"  data-toggle="tooltip"  data-placement="right" data-original-title="<?=L('setting',1)?>">
                    <i class="fa fa-cog"></i> <span><?=L('setting',1)?></span>
                </a>
            </li>

            <li <?php if(CONTROLLER_NAME=='Uchelp'&&ACTION_NAME=='index'){ ?>class="active"<?php } ?>>
                <a href="<?=url('uchelp/index')?>"  data-toggle="tooltip"  data-placement="right" data-original-title="<?=L('uchelp',1)?>">
                    <i class="fa fa-question-circle"></i> <span><?=L('uchelp',1)?></span>
                </a>
            </li>

        </ul>
    </section>
    <!-- /.sidebar -->
</aside>
<?php }else{ ?>
<style type="text/css">.right-side{margin-left:0px;}</style>
<?php } ?>